package cn.edu.zzuli.wechat.user.service;

import cn.edu.zzuli.model.dto.StateAndLockDto;
import cn.edu.zzuli.model.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

public interface UserService extends IService<User> {
    //获取用户个人中心的数值
    Map<String, Object> getInfo(Integer uid);

    //获取用户状态标志加用户编号
    StateAndLockDto getStateAndLock(Integer uid);

    //改变用户积分
    void updateWealth(Integer uid, Double bounty);

    //获取充值后积分
    Double getWealth(Integer uid);
}
